{template 'common/header'}

<div class='container' style='padding:0 5px 10px;margin:0;width:100%'>
	<div class="panel panel-success">
  		<div class="panel-heading">义卖商城信息设置</div>
	</div>
	<form action="" method="post" class="form-horizontal form">
		<div class="panel panel-default">
			<div class="panel-body">
				<div class="form-group">
					<label class="col-xs-12 col-sm-4 col-md-2 col-lg-2 control-label">底部版权信息</label>
					<div class="col-sm-8">
						<input type="text" name="copyright" class="form-control" value="{$info['copyright']}" />
						<span class="help-block"></span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-4 col-md-2 col-lg-2 control-label">公众号二维码</label>
					<div class="col-sm-8">
						{php echo tpl_form_field_image('code_pic',$info['code_pic']);}
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-4 col-md-2 col-lg-2 control-label">Banner图片</label>
					<div class="col-sm-8">
						{php echo tpl_form_field_image('banner',$info['banner']);}
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-4 col-md-2 col-lg-2 control-label">Banner图片链接</label>
					<div class="col-sm-8">
						<input type="text" name="banner_link" class="form-control" value="{$info['banner_link']}" />
					</div>
				</div>
			 	
				<div class="form-group">
					<label class="col-xs-12 col-sm-4 col-md-2 col-lg-2 control-label"></label>
					<div class="col-sm-4">
					<input type="hidden" name="token" value="{$_W['token']}" />
					<input name="submit" type="submit" value="提交" class="btn btn-primary span3" />	
				</div>
			</div>	
		</div>
	</form>	
</div>

{template 'common/footer'}
